package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.RoomInfo;
import com.atguigu.lease.web.admin.vo.room.RoomDetailVo;
import com.atguigu.lease.web.admin.vo.room.RoomItemVo;
import com.atguigu.lease.web.admin.vo.room.RoomQueryVo;
import com.atguigu.lease.web.admin.vo.room.RoomSubmitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author: 李壮
 * @CreateTime: 2025-05-11
 * @Version: 1.0
 */
public interface RoomInfoService extends IService<RoomInfo> {
    void saveOrUpdateRoom(RoomSubmitVo submitVo);

    IPage<RoomItemVo> PageRoomItemByQuery(IPage<RoomItemVo> page, RoomQueryVo roomQueryVo);

    RoomDetailVo getRoomDetailById(Long id);

    void removeRoomById(Long id);
}
